package cn.smbms.dao;

import cn.smbms.pojo.Provider;
import cn.smbms.pojo.User;
import cn.smbms.utils.PageSupport;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ProviderMapper {

    List<Provider> getProviderList(@Param("proCode") String proCode, @Param("proName") String proName, @Param("pageSupport") PageSupport pageSupport);

    Integer getProviderCount(@Param("proCode")String proCode, @Param("proName") String proName);

    Boolean addProvider(@Param("provider") Provider provider);

    Provider getProviderById(@Param("id") Long id);

    Boolean deleteProvider(@Param("id") Long id);
}
